#ifndef CONTROL_LIGHT_ALARM_H
#define CONTROL_LIGHT_ALARM_H

#include <QWidget>
#include <QFile>
#include"signsls_slots.h"
namespace Ui {
class Control_light_alarm;
}

class Control_light_alarm : public QWidget
{
    Q_OBJECT

public:
    QFile file;
    QFile file2;
    /* 设置 BEEP 的状态 */
    void setBeepState();
    /* 获取 BEEP 的状态 */
    bool getBeepState();
    /* 设置 lED 的状态 */
    void setLedState();

    /* 获取 lED 的状态 */
    bool getLedState();
    explicit Control_light_alarm(QWidget *parent = nullptr);
    ~Control_light_alarm();
signals:
    void show_Menu();
private slots:
    void on_light_btn_clicked();

    void on_pushButton_clicked();

    void on_alarm_btn_clicked();
    void openlight();
private:
    Ui::Control_light_alarm *ui;
    SignslS_SlotS *m_hub;
};

#endif // CONTROL_LIGHT_ALARM_H
